- form_for(:user, :url => {:action => "login", :controller => "logins"}) do |f|
  
  .form_row
    %label Login
    = f.text_field(:login, :class => "text")
  
  .form_row
    %label Password
    = f.password_field(:password, :class => "password")

  .form_row
    %label
    = f.submit("Login", :class => "submit")
  
- if APP_SETTINGS[:allow_user_signup]

  .hint_text
    = "#{link_to("Signup", :action => "signup", :controller => "logins")} for a new account."